Persistent Union-Find Data Structure